package org.example.model;

import lombok.Data;

import java.util.Date;

@Data
public class ProductInfo {
//    TABLE product_detail (
//        `id` INT NOT NULL AUTO_INCREMENT COMMENT '产品id',
//        `product_name` varchar ( 128 ) NULL COMMENT '产品名称',
//            `product_price` BIGINT ( 20 ) NOT NULL COMMENT '产品价格',
//            `state` TINYINT ( 4 ) NULL DEFAULT 0 COMMENT '产品状态 0-有效 1-下架',
//            `create_time` DATETIME DEFAULT now(),
//        `update_time` DATETIME DEFAULT now(),
//    PRIMARY KEY ( id )) ENGINE = INNODB DEFAULT CHARACTER
//            SET = utf8mb4 COMMENT = '产品表';
    private Integer id;
    private String productName;
    private Integer productPrice;
    private Integer state;
    private Date createTime;
    private Date updateTime;
}
